#ifndef INSTRUCTIONSCREEN_H
#define INSTRUCTIONSCREEN_H

#include <QWidget>
#include "textbutton.h"
#include <QPainter>
#include <QFont>
#include <QFontDatabase>
#include <QDebug>

namespace Ui {
    class InstructionScreen;
}

class InstructionScreen : public QWidget
{
    Q_OBJECT

public:
    explicit InstructionScreen(QWidget *parent = 0, QString newFilepath = "");
    ~InstructionScreen();

    void paintEvent(QPaintEvent *event);

private:
    Ui::InstructionScreen *ui;
    QString filepath;
    QImage bg;
    QFont *buttonFont;
    TextButton *back;

private slots:
    void on_back_clicked();
};

#endif // INSTRUCTIONSCREEN_H
